/**
 * @file MainForm
 *
 * @brief 
 *
 * @author gyzheng
 *
 * @mail gyazheng@gmail.com
 *
 * @date 07/27/2011 22:37:51 
 *
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CarFrameWork.UI.ProductDesign._3DModelingDesign
{
    public partial class HouQiao3DDesignForm : _DDesignFormBase
    {
        public HouQiao3DDesignForm()
        {
            InitializeComponent();
        }

        private void HouQiao3DDesignForm_Load(object sender, EventArgs e)
        {
            SetLayout();
        }

        private void HouQiao3DDesignForm_Paint(object sender, PaintEventArgs e)
        {
            SetLayout();
        }

        private void SetLayout()
        {
            this.groupBox1.Top = this.panel1.Height;
            this.groupBox1.Left = 0;
            this.groupBox1.Width = this.Width / 2;
            this.groupBox1.Height = (this.Height - this.panel1.Height) / 2;

            this.groupBox2.Top = this.panel1.Height;
            this.groupBox2.Left = this.groupBox2.Width;
            this.groupBox2.Width = this.Width / 2;
            this.groupBox2.Height = (this.Height - this.panel1.Height) / 2;


            this.groupBox3.Top = this.panel1.Height + this.groupBox2.Height;
            this.groupBox3.Left = 0;
            this.groupBox3.Width = this.Width / 2;
            this.groupBox3.Height = (this.Height - this.panel1.Height) / 2;

            this.groupBox4.Top = this.panel1.Height+this.groupBox2.Height;
            this.groupBox4.Left = this.groupBox3.Width;
            this.groupBox4.Width = this.Width / 2;
            this.groupBox4.Height = (this.Height - this.panel1.Height) / 2;
        }
    }
}